﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace ConsoleApp1.Models.DB {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_ResistanceDetection", DisableSyncStructure = true)]
	public partial class TResistanceDetection {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty]
		public int? ABResistance { get; set; }

		[JsonProperty]
		public int? ACResistance { get; set; }

		[JsonProperty]
		public int? AlarmSign { get; set; }

		[JsonProperty]
		public int? AVoltage { get; set; }

		[JsonProperty]
		public int? BaoLiu1 { get; set; }

		[JsonProperty]
		public int? BaoLiu2 { get; set; }

		[JsonProperty]
		public int? BatteryVoltage { get; set; }

		[JsonProperty]
		public int? BCResistance { get; set; }

		[JsonProperty]
		public int? BVoltage { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty]
		public int? CVoltage { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string DataTime { get; set; }

		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string GapTime { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string Port { get; set; }

		[JsonProperty]
		public int? Signal { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

		[JsonProperty]
		public int? VoltageThreshold { get; set; }

	}

}
